Core data types

– Atomic: int, float, bool
Indivisible which represents only a single data value
– Collective: str
Comprised of more than one data values

▪ Manipulations: str.count(), str.split(), str.join()…
String类型的操作



String数据合并


提取一个String的部分内容


数学计算语法


Input输入


Print输出


读取文件方法(一行—多行)


写文件方法—文档写入数据